Inside an Animation Event: the name you gave the event on the frame, like "swing". An empty text anywhere else.
Works differently on Game Boy - Animations play as on the Advance, with smaller limits: a frame lasts up to 650 sixtieths of a second, a frame has at most 4 boxes of each kind, and a game has up to 255 animations.
Works differently on Game Boy Color - Animations play as on the Advance, with smaller limits: a frame lasts up to 650 sixtieths of a second, a frame has at most 4 boxes of each kind, and a game has up to 255 animations.
On other consoles this differs: see Side by side and How the consoles differ.
animation_event_name: string (read-only)Inside an Animation Event: the name you gave the event on that frame, like "swing". An empty text anywhere else.
if (animation_event_name == "swing") {
sound_play(snd_swing);
}Plays a whoosh on the frame marked "swing".